import React, {Component} from 'react';
import {Button, Result} from "antd";

class NoMatch extends Component {
  render() {
    return (
      <Result
        status="404"
        title="404"
        subTitle="访问的界面不存在~"
        extra={<Button type="primary" onClick={() => this.props.history.go(-1)}>返回上一页</Button>}
      />
    );
  }
}

export default NoMatch;
